package com.zit.entity;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * Classes entity. @author MyEclipse Persistence Tools
 */

public class Classes implements java.io.Serializable {

	// Fields

	private Integer id;
	private Profession profession;
	private Teacher teacherByProTeacher;
	private Teacher teacherByHeadTeacher;
	private Term term;
	private String name;
	private Date createTime;
	private Integer isDelete;
	private String remark;
	private Set students = new HashSet(0);
	private Set changeclassesesForOldClasses = new HashSet(0);
	private Set changeclassesesForNewClasses = new HashSet(0);

	// Constructors

	/** default constructor */
	public Classes() {
	}

	/** minimal constructor */
	public Classes(String name) {
		this.name = name;
	}
	
	/** minimal constructor */
	public Classes(Integer id,String name) {
		this.id = id;
		this.name = name;
	}

	/** full constructor */
	public Classes(Profession profession, Teacher teacherByProTeacher,
			Teacher teacherByHeadTeacher, Term term, String name,
			Date createTime, Integer isDelete, String remark, Set students,
			Set changeclassesesForOldClasses, Set changeclassesesForNewClasses) {
		this.profession = profession;
		this.teacherByProTeacher = teacherByProTeacher;
		this.teacherByHeadTeacher = teacherByHeadTeacher;
		this.term = term;
		this.name = name;
		this.createTime = createTime;
		this.isDelete = isDelete;
		this.remark = remark;
		this.students = students;
		this.changeclassesesForOldClasses = changeclassesesForOldClasses;
		this.changeclassesesForNewClasses = changeclassesesForNewClasses;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Profession getProfession() {
		return this.profession;
	}

	public void setProfession(Profession profession) {
		this.profession = profession;
	}

	public Teacher getTeacherByProTeacher() {
		return this.teacherByProTeacher;
	}

	public void setTeacherByProTeacher(Teacher teacherByProTeacher) {
		this.teacherByProTeacher = teacherByProTeacher;
	}

	public Teacher getTeacherByHeadTeacher() {
		return this.teacherByHeadTeacher;
	}

	public void setTeacherByHeadTeacher(Teacher teacherByHeadTeacher) {
		this.teacherByHeadTeacher = teacherByHeadTeacher;
	}

	public Term getTerm() {
		return this.term;
	}

	public void setTerm(Term term) {
		this.term = term;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Integer getIsDelete() {
		return this.isDelete;
	}

	public void setIsDelete(Integer isDelete) {
		this.isDelete = isDelete;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Set getStudents() {
		return this.students;
	}

	public void setStudents(Set students) {
		this.students = students;
	}

	public Set getChangeclassesesForOldClasses() {
		return this.changeclassesesForOldClasses;
	}

	public void setChangeclassesesForOldClasses(Set changeclassesesForOldClasses) {
		this.changeclassesesForOldClasses = changeclassesesForOldClasses;
	}

	public Set getChangeclassesesForNewClasses() {
		return this.changeclassesesForNewClasses;
	}

	public void setChangeclassesesForNewClasses(Set changeclassesesForNewClasses) {
		this.changeclassesesForNewClasses = changeclassesesForNewClasses;
	}

}